<div class="uk-layui-form">
	<form class="layui-form" action="/admin/metadata/estable/data/editsave.html" method="post">
		<input type="hidden" name="tableid" value="${table.id!''}">
		<input type="hidden" name="dataid" value="${dataid!''}">
		<input type="hidden" name="tabletype" value="${tabletype!''}">
		<div class="layui-collapse">
			<div class="layui-tab">
					<div class="row">
						<div class="col-lg-12" >
							<div class="box">
							<div class="box-body ukefu-contacts-detail" id="ukefu_contacts_info">
								<div class="layui-colla-content layui-show" style="padding:0px;">
									<table class="layui-table" lay-skin="line">
										<tbody>
											<#if tabletype?? && tabletype == "3">
												<tr class="tdHasContorllor design-dropable-td">
													<td>任务</td>
													<#if dataList?? && dataList.content??>
															<#list dataList.content as data>
													 <th title="批次：<#if data.batch??>${data.batch.name!''}</#if>"><#if data.task??>${data.task.name!''}</#if></th>
													</#list>
													</#if>
													<td>分配时间</td>
													<#if dataList?? && dataList.content??>
															<#list dataList.content as data>
													<td nowrap="nowrap"><#if data.values["distime"]??>${(data.values["distime"]?replace('T',' '))?replace('Z','')}</#if></td>
													</#list>
													</#if>
												</tr> 
											</#if>
											<#assign inx = 0 >
												<#if table.tableproperty??>
													<#list table.tableproperty as prop>
													<#if inx%2 == 0>
														<tr class="tdHasContorllor design-dropable-td">
												  			</#if>
												  			<#if prop.viewtype?? && (prop.viewtype?index_of('edit') gte 0)>
															  	<#assign inx = inx + 1>
															  	<td>${prop.name!''}</td>
															  	
															  	<td>
															  		<#if dataList?? && dataList.content??>
																		<#list dataList.content as data>
																		<#if table.tableproperty??>
																		<input type="hidden" name="fieldname" value="${prop.fieldname!''}">
																	  		<input type="text" autocomplete="off" name="value" value="<#if data.values[(prop.fieldname)?lower_case]?? && data.values[(prop.fieldname)?lower_case]?is_enumerable == false>${data.values[(prop.fieldname)?lower_case]}</#if>" style="width:280px;height: 30px;text-indent: 10px;">
																		</#if>
																		</#list>
																	</#if>
															  	</td>
															  	
															 </#if>
															 <#if inx %2 == 0 && inx gt 0>
															 </tr>
															 </#if>
													</#list>
												</#if>
										</tbody>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			    
		</div>
			 
		</div>

		<div class="layui-form-button">
			<div class="layui-button-block">
				<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
</div>

<script type="text/javascript">

	layui.use('form', function() {
		var form = layui.form;
		form.render(); //更新全部
	});
	
	layui.use('element', function(){
		var element = layui.element;
	});
	
	
	var change1 = function(){
		
		layui.use('laydate', function() {
			var laydate = layui.laydate;
			laydate.render({ 
			  elem: '#test1' ,
			  format: 'yyyy-MM-dd HH:mm:ss'
			});	
		});
	};
	
	var change2 = function(){
		layui.use('laydate', function() {
			var laydate = layui.laydate;
			laydate.render({ 
			  elem: '#test2' ,
			  format: 'yyyy-MM-dd HH:mm:ss'
			});	
		});
	};
	
	
	
</script>